if(DEFINED CONFIG_SAMPLE_SUPPORT_SLE_SERVER_ADC)
    add_subdirectory_if_exist(server_ADC)
elseif(DEFINED CONFIG_SAMPLE_SUPPORT_SLE_CLIENT)
    add_subdirectory_if_exist(sle_client)
elseif(DEFINED CONFIG_SAMPLE_SUPPORT_SLE_SERVER_SERIAL)
    add_subdirectory_if_exist(server_Serial)
elseif(DEFINED CONFIG_SAMPLE_SUPPORT_SLE_SERVER_LED)
    add_subdirectory_if_exist(server_LED)
elseif(DEFINED CONFIG_SAMPLE_SUPPORT_SLE_SERVER_RK3588)
    add_subdirectory_if_exist(server_rk3588)
elseif(DEFINED CONFIG_SAMPLE_SUPPORT_SLE_SERVER_RFID)
    add_subdirectory_if_exist(server_RFID)
elseif(DEFINED CONFIG_SAMPLE_SUPPORT_SLE_SERVER_LIGHT)
    add_subdirectory_if_exist(server_light)
elseif(DEFINED CONFIG_SAMPLE_SUPPORT_SLE_SERVER_KEY)
    add_subdirectory_if_exist(server_key)
endif()

set(SOURCES "${SOURCES}" PARENT_SCOPE)
set(PUBLIC_HEADER "${PUBLIC_HEADER}" PARENT_SCOPE)